package com.jxauaia.contest.common.constant;

/**
 * 系统常量类
 */
public class Constants {

    /**
     * 用户相关常量
     */
    public static class User {
        public static final String DEFAULT_AVATAR = "/static/images/default-avatar.png";
        public static final Integer STATUS_NORMAL = 1;
        public static final Integer STATUS_DISABLED = 0;
    }
    // 证件类型常量
    public static class IdType {
        public static final String MAINLAND_ID = "mainland_id";  // 大陆身份证
        public static final String HONGKONG_ID = "hongkong_id";  // 香港身份证
        public static final String MACAO_ID = "macao_id";        // 澳门身份证
        public static final String TAIWAN_ID = "taiwan_id";      // 台湾身份证
        public static final String PASSPORT = "passport";        // 护照
    }
    /**
     * 比赛相关常量
     */
    public static class Competition {
        public static final Integer STATUS_NOT_STARTED = 0;
        public static final Integer STATUS_IN_PROGRESS = 1;
        public static final Integer STATUS_ENDED = 2;
        public static final String INNOVATION_AND_ENTREPRENEURSHIP= "创新创业类";
        public static final String POLYTECHNIC = "理工类";
        public static final String  ARTISTIC_DESIGN = "艺术设计类";
        public static final String  HUMANITIES_AND_SOCIAL_SCIENCES = "人文社科类";
        public static final String  COMPREHENSIVE_QUALITY = "综合素养类";
        public static final String  MEDICINE = "医学类";




    }

    /**
     * 安全相关常量
     */
    public static class Security {
        public static final String TOKEN_PREFIX = "Bearer ";
        public static final String HEADER_STRING = "Authorization";
        public static final long EXPIRATION_TIME = 864000000; // 10天
    }

}